package com.itheima.enum1;

public enum Season {
    SPRING("春"){
        public void show(){
            System.out.println("我是"+this.name);
        }
    },SUMMER("夏"){
        public void show(){
            System.out.println("我是"+this.name);
        }
    },AUTUMN("秋"){
        public void show(){
            System.out.println("我是"+this.name);
        }
    },WINTER("冬"){
        public void show(){
            System.out.println("我是"+this.name);
        }
    };
    public String name;
    Season(){
    }
    Season(String name){
        this.name = name;
    }
}
